#!/bin/sh

if [ $# -ne 1 ]; then

	echo "Usage: $0 file.md"
	exit
fi
echo "#!/bin/sh" > 22
echo "" >> 22

grep "^+ " $1 |awk -F, '{print $1}'|sed -e "s/\+ //g" |awk '{printf "echo \"## ";printf ;printf "\"\;" ;printf "yd \"" ;printf ;print "\""}'>>22;chmod +x 22;./22>dict`date -I`.md

